lcDrwAddLinetypeF Home

Adds a new linetype into a drawing. The linetype definition will be read from a file. LiteCAD uses AutoCAD file format (*.lin) for linetype definitions.
Examine the acadiso.lin file that comes with the LiteCAD package to see examples of linetypes definitions.

 HANDLE lcDrwAddLinetypeF (
   HANDLE hDrw,
   LPCWSTR szName,
   LPCWSTR szFileName,
   LPCWSTR szLtypeName
 );

Parameters
hDrw
  Handle to a drawing object.
szName
  Linetype name. Must be different from exist linetypes.
szFileName
  Name of a linetype definitions file.
szLtypeName
  Linetype name as written in the file.

Return Value

  Handle to a new linetype.
If the function fails, the return value is NULL.

See Also

  lcDrwAddLinetype